<extend name="Public:template" />
<block name="page_header">
<!-- 个人中心页面  -->
<ul class="header-sub">
  <li class="previous"><a href="{:U('Index/index')}" class="btn btn-default active" role="button"><span class="icon icon-home"></span>首页</a></li>
  <li ><h3>我的小屋</h3></li>
  <li class="next ">
  	<notempty name="Think.session.SES_CUST_ID">
		<a href="{:U('CustPassport/doLogout')}"  class="btn btn-warning" role="button">退出<span class="icon-white icon-user"></span></a>
	<else/>
		<a href="{:U('CustPassport/index')}"  class="btn btn-warning" role="button">登录<span class="icon-white icon-user"></span></a>
	</notempty>
  </li>
</ul>
</block>
<block name="page_body">
<h2 class="lht40 yellowGraBg mt15 plr15" align="left">购物管理</h2>
<ul class="list-group alert-warning">
	<li class="list-group-item" onclick="redirect('{:U('Cart/index')}')" style="cursor:pointer">
		<img class="img-thumbnail" src="__ROOT__/statics/mobile/images/icons/cart.png" style="margin-right:10px">我的购物车
		<span class="pull-right icon icon-chevron-right" style="margin-top:12px;"></span>
	</li>
	<li class="list-group-item" onclick="redirect('{:U('CustOrder/index')}')" style="cursor:pointer">
		<img class="img-thumbnail" src="__ROOT__/statics/mobile/images/icons/lorry_go.png" style="margin-right:10px">进行中的订单
		<span class="pull-right icon icon-chevron-right" style="margin-top:12px;"></span>
	</li>
	<li class="list-group-item" onclick="redirect('{:U('CustOrder/index',array('is_history'=>1))}')" style="cursor:pointer">
		<img class="img-thumbnail" src="__ROOT__/statics/mobile/images/icons/history.png" style="margin-right:10px">历史订单
		<span class="pull-right icon icon-chevron-right" style="margin-top:12px;"></span>
	</li>
</ul>
<h2 class="lht40 greenGraBg mt15 plr15" align="left">个人管理</h2>
<ul class="list-group alert-success">
	<li class="list-group-item" onclick="redirect('{:U('CustAddress/index')}')" style="cursor:pointer">
		<img class="img-thumbnail" src="__ROOT__/statics/mobile/images/icons/house.png" style="margin-right:10px">
		<if condition="$cust.addressCnt eq 0">
   				添加配送地址
   				<else/>
   				配送地址管理
   				</if>
		<span class="pull-right icon icon-chevron-right" style="margin-top:12px;"></span>
	</li>
	
	<li class="list-group-item" onclick="redirect('{:U('CustPassport/showChgpwd')}')" style="cursor:pointer">
		<img class="img-thumbnail" src="__ROOT__/statics/mobile/images/icons/change_password.png" style="margin-right:10px">修改登录密码
		<span class="pull-right icon icon-chevron-right" style="margin-top:12px;"></span>
	</li>
	<li class="list-group-item" onclick="redirect('{:U('CustPassport/showUpd')}')" style="cursor:pointer">
		<img class="img-thumbnail" src="__ROOT__/statics/mobile/images/icons/user_green.png" style="margin-right:10px">完善个人信息
		<span class="pull-right icon icon-chevron-right" style="margin-top:12px;"></span>
	</li>
</ul>
</block>
<block name="script_footer">
<script type="text/javascript">
$(document).ready(function(){

})
</script>
</block>